cmake_minimum_required(VERSION 3.0.0)
project(add_sub VERSION 0.1.0)

include(CTest)
enable_testing()

#添加一个库 默认是静态库 有SHARED标记的话为动态链接库
#add_library(add_sub SHARED add_sub.cpp)
add_library(add_sub SHARED add_sub.cpp)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
